﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Vehicle vehicle = new Vehicle();
            vehicle.Name = "兰博基尼";
            vehicle.Color = "蓝色";
            vehicle.Wheels = 4;
            Console.WriteLine("名称："+vehicle .Name );
            Console.WriteLine("颜色："+vehicle .Color );

            Garage garage = new Garage();
            garage.Name = "大都修理厂";
            garage.Address = "新湖街道旁边";
            garage.Telephone = "13876458895";
            Animasl animasl = new Animasl();
            animasl.Behavior();
            Dog dog = new Dog();
            dog.Name = "小黑";
            dog.Color = "黑色";
            Console.WriteLine("狗狗名字:" + dog.Name);
            Console.WriteLine("狗狗颜色:" + dog.Color);
            dog.Behavior();
            Fish fish = new Fish();
            fish.Name = "小金鱼";
            fish.Color = "黄色";
            Console.WriteLine("小鱼名字：" + fish.Name);
            Console.WriteLine("小鱼颜色:" + fish.Color);
            fish.Behavior();




        }


    }

    
    }

    

